{extend name="base" /} {block name="body"}
<div class="layui-body">
	<div class="navbar">
		<a><cite>商城管理</cite></a>&nbsp;<span class="layui-box">&gt;</span>
		<a href=""><cite>退货列表</cite></a>
	</div>
	<!--tab标签-->
	<div class="layui-tab layui-tab-brief">
		<blockquote class="layui-elem-quote">
			<form class="layui-form layui-form-pane" action="" method="get">
			<div class="layui-inline">
				<div class="layui-input-inline">
					<input type="text" value="{$order_sn}" name="order_sn" placeholder="请输入订单编号" class="layui-input">
				</div>
				
			</div>
			<div class="layui-inline">
				<select name="status">
					<option value="0">审核状态</option>
					<option value="2" {if $status=='2' }selected{/if}>已完成</option>
					<option value="1" {if $status=='1' }selected{/if}>客服理中</option>
				</select>
			</div>
			<a class="layui-btn search_btn"><i class="fa fa-search"></i> 搜索</a>
			</form>
		</blockquote>
		<div class="layui-tab-content">
			<table class="layui-table layui-form">
				<thead>
					<tr>
						<th>订单编号</th>
						<th>申请退货时间</th>
						<th>申请用户</th>
						<th>退回原因</th>
						<th>处理状态</th>
						<th>处理时间</th>
					</tr>
				</thead>
				<tbody>
					<form id="listForm">
						{foreach name="list" item="vo"}
						<tr>
							<td>{$vo.order_sn}</td>
							<td>{$vo.add_time}</td>
							<td>{$vo.mobile}</td>
							<td>{$vo.reason}</td>
							<td>{if $vo.status==2}已完成{else}客服理中{/if}</td>
							<td>{$vo.deal_time}</td>
						</tr>
						{/foreach}
					</form>
				</tbody>
			</table>
			{$list->render()}
		</div>
	</div>
</div>
{/block}
{block name="js"}
<script>
	var GV = {
		current_controller: "{$controller}/order_return"
	};
</script>
{/block}